package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * @ClassName CorpTeam
 * @Description 作业队
 * @Author dujianyu
 * @Date 2023/12/12 13:46
 */
@Data
@TableName("corp_team")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "CorpTeam对象", description = "作业队")
public class CorpTeam extends TenantEntity {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "名称")
    private String fullName;

    @ApiModelProperty(value = "有工人")
    private Integer hasWorker;

    @ApiModelProperty(value = "有机械")
    private Integer hasMachine;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
